﻿using System;
using System.ComponentModel.DataAnnotations;

using Hang.Blog.DomainPlus.EntityPlus;

namespace Hang.Blog.Entities {
    public class Menu : FullAuditedAggregateRootPlus<Guid> {

        public new Guid Id { get; set; }

        /// <summary>
        /// 类目名称
        /// </summary>
        [StringLength(100)]
        public string MenuName { get; set; }



        /// <summary>
        /// 父节点Id
        /// </summary>
        public Guid? ParentId { get; set; }



        /// <summary>
        /// 全路径
        /// </summary>
        [StringLength(1000)]
        public string FullPath { get; set; }


        /// <summary>
        /// 全名字
        /// </summary>
        [StringLength(1000)]
        public string FullName { get; set; }


        /// <summary>
        /// 深度
        /// </summary>
        public int Depth { get; set; }
    }



}
